package com.yzt.zhuju.dialog;

import android.view.View;

import com.yzt.zhuju.R;
import com.yzt.zhuju.arouter.RouterMine;

/**
 * author : bob
 * date   : 2023/2/23
 * desc   : 观看视频
 */
public class WatchVideoDialog extends CenterBaseDialog {

    @Override
    public int getLayoutRes() {
        return R.layout.dialog_watch_video;
    }

    @Override
    public void bindView(View v) {

        findViewById(R.id.img_del).setOnClickListener(view -> dismissAllowingStateLoss());

        findViewById(R.id.rl_container).setOnClickListener(view -> {
            RouterMine.WatchVideoActivity();
            dismissAllowingStateLoss();
        });
    }
}

